#ifndef RASPBERRY_PI_SPECIFICS_H
#define RASPBERRY_PI_SPECIFICS_H


#include <php.h>

//raspberry pi specifics
ZEND_BEGIN_ARG_INFO(arginfo_digitalWriteByte, 0)
    ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_pwmSetMode, 0)
    ZEND_ARG_INFO(0, mode)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_pwmSetRange, 0)
    ZEND_ARG_INFO(0, range)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_pwmSetClock, 0)
    ZEND_ARG_INFO(0, divisor)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_piBoardRev, 0)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_wpiPinToGpio, 0)
    ZEND_ARG_INFO(0, wPiPin)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_physPinToGpio, 0)
    ZEND_ARG_INFO(0, physPin)
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_INFO(arginfo_setPadDrive, 0)
    ZEND_ARG_INFO(0, group)
    ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
//raspberry pi specifics



//raspberry pi specifics

PHP_FUNCTION(digitalWriteByte);
PHP_FUNCTION(pwmSetMode);
PHP_FUNCTION(pwmSetRange);
PHP_FUNCTION(pwmSetClock);
PHP_FUNCTION(piBoardRev);
PHP_FUNCTION(wpiPinToGpio);
PHP_FUNCTION(physPinToGpio);
PHP_FUNCTION(setPadDrive);
#endif